package io.gitee.chearnee.fw.log.sql.parse.jsqlparser;

import io.gitee.chearnee.fw.log.sql.model.entity.SqlEntity;
import net.sf.jsqlparser.statement.delete.Delete;
import net.sf.jsqlparser.statement.insert.Insert;
import net.sf.jsqlparser.statement.select.Select;
import net.sf.jsqlparser.statement.update.Update;

/**
 * @author cn
 * @version 1.0
 * @description
 * @date 2023/7/21 10:09
 */
public interface IParseStatement {
    SqlEntity parseStatementImpl(Select parseSql);

    SqlEntity parseStatementImpl(Update parseSql);

    SqlEntity parseStatementImpl(Insert parseSql);

    SqlEntity parseStatementImpl(Delete parseSql);
}
